Skip to content

Retry the Android sample build once after an IL2CPP segfault - #247

Merged
sierpinskid merged 2 commits into
mainfrom
bugfix/UNI-277-retry-android-sample-build
Dec 4, 2026
Merged

sierpinskid merged 2 commits into
mainfrom
bugfix/UNI-277-retry-android-sample-build

Conversation

@sierpinskid

Copy link
Copy Markdown
Member

Summary

  • Retry Build Sample Project once when UnityLinker or il2cpp exits 139 during the Android player build.
  • On failure, run the existing Unity state reset, then build again. Upload the artifact only after an attempt succeeds. A second failure still fails the job.
  • Tracks UNI-277. The 6000.1 + STANDARD_2_x matrix row is unchanged.

Test plan

  • Confirm the workflow YAML is accepted by Actions (no syntax error on the run).
  • On a green matrix row, attempt 1 builds, attempt 2 is skipped, and the build artifact uploads.
  • If attempt 1 fails, the reset step runs and attempt 2 builds. The job stays green when attempt 2 succeeds.
  • If both attempts fail, the job fails and Slack is notified.

Made with Cursor

A UnityLinker or il2cpp crash exits 139 and fails the job even though the same build usually passes on the next attempt.

Co-authored-by: Cursor <cursoragent@cursor.com>
@getstream-metis

Copy link
Copy Markdown

👋 Hi Daniel, want a second pair of eyes on this?

I'm Jeffery, Stream's review agent. I look for bugs, regressions, missing tests and slow paths, and I only post findings I've checked against the code.

  • Review this PR

Or comment /jeffery review. I'll stay quiet unless you ask.

Keep the one-retry Android sample build and use the pinned action SHAs from main.

Co-authored-by: Cursor <cursoragent@cursor.com>
@sierpinskid
sierpinskid merged commit 4c8d2d9 into main Dec 4, 2026
13 checks passed
@sierpinskid
sierpinskid deleted the bugfix/UNI-277-retry-android-sample-build branch December 4, 2026 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants